<?php
App::uses('AppModel', 'Model');
/**
 * PrintJob Model
 *
 */
class PrintJob extends AppModel {
/**
 * Validation rules
 *
 * @var array
 */
	public $validate = array(
		'foreign_key' => array(
			'numeric' => array(
				'rule' => array('numeric'),
				'message' => 'Relationship ID\'s must be numberic',
			),
		),
		'urgent' => array(
			'boolean' => array(
				'rule' => array('boolean'),
				'message' => 'A print job can only be urgent or not (true or false)',
			),
		),
	);
}
